package indi.zhifa.recipe.bailan.busy.auth.service;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import indi.zhifa.recipe.bailan.busy.auth.entity.dto.device.DeviceCreateDto;
import indi.zhifa.recipe.bailan.busy.auth.entity.dto.device.DeviceEditDto;
import indi.zhifa.recipe.bailan.busy.auth.entity.po.DeviceEntity;

import java.util.List;

public interface IDeviceService {
    void init();
    List<DeviceEntity> list();

    DeviceEntity info(Long pId);

    DeviceEntity create(DeviceCreateDto pDeviceCreateDto);

    DeviceEntity edit(Long pId, DeviceEditDto pDeviceEditDto);

    Page<DeviceEntity> page(int pCurrent,int pSize,String pCode,String pName,Long pCreateUserId, Long pCompanyAuthId);
}
